//
//  HomeViewController.m
//  CareGiver
//
//  Created by Guillermo Moral on 7/30/14.
//  Copyright (c) 2014 Humana. All rights reserved.
//

#import "HomeViewController.h"

@interface HomeViewController ()

@end

@implementation HomeViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    self.navigationController.navigationBar.barTintColor = [UIColor greenColor];
    self.navigationController.navigationBar.translucent = NO;
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)configureNavigationBar {
    
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

-(void)callRequieredUpdatesService:(NSString*)applicationType applicationVersion:(NSString*)applicationVersion applicationName:(NSString*)applicationName {
    
    /*
    RestServiceClient *client = [[RestServiceClient alloc]initWithDelegate:self
                                                          serviceNamespace:@"RequieredVersion" serviceName:@"UpdateRequieded"];
    [client.params setObject:applicationType forKey:@"UpdateRequiered"];
    [client.params setObject:applicationVersion forKey:@"application_platform"];
    [client.params setObject:applicationName forKey:@"application_name"]
    [client executeRequest];
    */
}

@end
